package com.ecoolex.ying.space.core.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ecoolex.framework.common.pojo.Page;
import com.ecoolex.ying.space.core.mapper.WholeHouseCaseItemsMapper;
import com.ecoolex.ying.space.entity.WholeHouseCaseItems;

public interface WholeHouseCaseItemsDAO extends WholeHouseCaseItemsMapper {
	
	long  countByItemsName(@Param("itemsName") String itemsName);
	
	long countStyleDescriptionByItemsName(@Param("itemsName") String itemsName);
	
	List<String> queryStyleDescriptionByItemsName(@Param("itemsName") String itemsName,@Param("page") Page page);

	long countByItemsNameAndStyleDescription(@Param("itemsName") String itemsName,@Param("styleDescription") String styleDescription);
	
	List<WholeHouseCaseItems> queryByItemsNameAndStyleDescription(@Param("itemsName") String itemsName,@Param("styleDescription") String styleDescription,@Param("page") Page page);
}